package com.honglang.module.article.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.honglang.module.article.entity.KeyWord;

public interface KeyWordService {
	
	
	/**
	 * save the keyWord
	 * @param keyWord
	 * @return
	 */
	@Transactional(readOnly =false)
	public KeyWord save(KeyWord keyWord);
	
	
	/**
	 * Get the keyWord Entity by name;
	 * @param keyWord
	 * @return
	 */
	
	public KeyWord getKeyWordByName(String keyWord);


	/**
	 * get all the keyWord entities;
	 * @return
	 */
	public List<KeyWord> getAll();

}
